import 'package:flutter/material.dart';
import 'package:hkzf/utils/common_toast.dart';

class SettingPage extends StatelessWidget {
  const SettingPage({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('登录')),
      body: ListView(children: [
        RaisedButton(
          onPressed: () {
            CommonToast.showToast('已经退出登录');
          },
          child: Text('退出登录'),
        )
      ]),
    );
  }
}
